package com.easylinkin.linkappapi.keywork.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.keywork.entity.KeyworkList;
import com.easylinkin.linkappapi.keywork.vo.KeyworkListVo;
import com.easylinkin.linkappapi.manageinfo.entity.ManageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author TongJie
 * @since 2020-04-16
 */
public interface KeyworkListMapper extends BaseMapper<KeyworkList> {

    IPage<KeyworkListVo> selectKeyworkList(Page page, @Param("keyworkList") KeyworkList keyworkList);

    List<KeyworkListVo> selectKeyworkList(@Param("keyworkList")KeyworkList list);

    List<Map<String, Object>> selectIsUsedListMap(@Param("tenantId") String tenantId);


}
